Command to modify the limit of users watches:
  echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
  
References:
https://gist.github.com/joseluisq/7f60f51b4570acac4a2ab5cecef31daa
https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
https://github.com/facebook/watchman/issues/163
https://discuss.circleci.com/t/changing-fs-inotify-max-user-watches/11550

A dotfile:
https://github.com/DarkPark/dotfiles/blob/master/readme.md